package com.dhcc.cdc.busi.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.dhcc.core.framework.base.entity.DataEntity;


/**
 * 医嘱套明细
 * 
 * @ClassName: CdcOrdgroupEntryEntity
 * @Description: TODO
 * @author jumper
 * @date 2021-03-15 10:20:07
 */
@TableName("t_cdc_ct_ordgroup_entry") 
public class CdcOrdgroupEntryEntity extends DataEntity<CdcOrdgroupEntryEntity> {
	private static final long serialVersionUID = 1L;
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	
	//医嘱项
	private Long orderMastId;
    @TableField(exist = false)
    private CdcOrdmastEntity orderMast;	
	//医嘱套
	private Long orderGroupId;	
    //君臣佐使
	private String orderRole;	
	//是否有效
	private Integer isActive;	

	/**
	 * 设置：医嘱项
	 */
	public void setOrderMastId(Long orderMastId) {
		this.orderMastId = orderMastId;
	}
	/**
	 * 获取：医嘱项
	 */
	public Long getOrderMastId() {
		return orderMastId;
	}
	/**
	 * 设置：医嘱套
	 */
	public void setOrderGroupId(Long orderGroupId) {
		this.orderGroupId = orderGroupId;
	}
	public CdcOrdmastEntity getOrderMast() {
        return orderMast;
    }
    public void setOrderMast(CdcOrdmastEntity orderMast) {
        this.orderMast = orderMast;
    }
	/**
	 * 获取：医嘱套
	 */
	public Long getOrderGroupId() {
		return orderGroupId;
	}
	/**
	 * 设置：君臣佐使
	 */
	public void setOrderRole(String orderRole) {
		this.orderRole = orderRole;
	}
	/**
	 * 获取：君臣佐使
	 */
	public String getOrderRole() {
		return orderRole;
	}
	/**
	 * 设置：是否有效
	 */
	public void setIsActive(Integer isActive) {
		this.isActive = isActive;
	}
	/**
	 * 获取：是否有效
	 */
	public Integer getIsActive() {
		return isActive;
	}
}
